package com.hdx.server.service;



import com.hdx.common.result.PageResult;
import com.hdx.model.dto.DishDTO;
import com.hdx.model.dto.DishPageQueryDTO;
import com.hdx.model.entity.Dish;
import com.hdx.model.vo.DishVO;

import java.util.List;

public interface DishService {
    PageResult pageQuery(DishPageQueryDTO dishPageQueryDTO);

    void save(DishDTO dishDTO);

    void deleteBatch(List<Long> ids);

    DishVO getById(Long id);

    void update(DishDTO dishDTO);

    List<Dish> getDishListByCategoryId(Long categoryId);

    void startOrStop(Integer status, Long id);


    List<DishVO> listWithFlavor(Dish dish);
}
